package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 民宿房间对象 tourism_rooms
 *
 * @author gqd
 * @date 2020-12-29
 */
public class TourismRooms extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 房间名称 */
    @Excel(name = "房间名称")
    private String roomName;

    /** 房间图片 */
    @Excel(name = "房间图片")
    private String roomPhotos;

    /** 房间价格 */
    @Excel(name = "房间价格")
    private BigDecimal roomPrice;

    /** 房间说明 */
    @Excel(name = "房间说明")
    private String roomRemake;

    /** 民宿id */
    @Excel(name = "民宿id")
    private Long hotelId;

    private String hotelName; //民宿名称

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setRoomName(String roomName)
    {
        this.roomName = roomName;
    }

    public String getRoomName()
    {
        return roomName;
    }
    public void setRoomPhotos(String roomPhotos)
    {
        this.roomPhotos = roomPhotos;
    }

    public String getRoomPhotos()
    {
        return roomPhotos;
    }
    public void setRoomPrice(BigDecimal roomPrice)
    {
        this.roomPrice = roomPrice;
    }

    public BigDecimal getRoomPrice()
    {
        return roomPrice;
    }
    public void setRoomRemake(String roomRemake)
    {
        this.roomRemake = roomRemake;
    }

    public String getRoomRemake()
    {
        return roomRemake;
    }
    public void setHotelId(Long hotelId)
    {
        this.hotelId = hotelId;
    }

    public Long getHotelId()
    {
        return hotelId;
    }

    public String getHotelName() {
        return hotelName;
    }

    public void setHotelName(String hotelName) {
        this.hotelName = hotelName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("roomName", getRoomName())
            .append("roomPhotos", getRoomPhotos())
            .append("roomPrice", getRoomPrice())
            .append("roomRemake", getRoomRemake())
            .append("hotelId", getHotelId())
             .append("hotelName", getHotelName())
            .append("createTime", getCreateTime())
            .toString();
    }
}
